namespace Legend.IO
{
    using System.IO;

    /// <summary>
    /// Represents a file.
    /// </summary>
    public interface IFile
        : IFileSystemEntry
    {
        /// <summary>
        /// Opens a stream to the file.
        /// </summary>
        /// <returns>A stream.</returns>
        Stream Open();
    }
}
